package com.atguigu.system.mapper;

import com.atguigu.model.system.SysLoginLog;
import com.atguigu.model.vo.SysLoginLogQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统访问记录 Mapper 接口
 * </p>
 *
 * @author lemon
 * @since 2023-01-25
 */
public interface SysLoginLogMapper extends BaseMapper<SysLoginLog> {

    IPage<SysLoginLog> selectWithPage(@Param("pageParam") Page<SysLoginLog> pageParam, @Param("vo") SysLoginLogQueryVo vo);

    // 记录登录信息
//    void recordLoginLog(String username, Integer status, String ipaddr, String message);
}
